Description
Set the input file to the given property on the input document. If the xpath points to a blob list then the blob is appended to the list, otherwise the xpath should point to a blob property. If the save parameter is set the document modification will be automatically saved. Return the document.
Operation id | Document.SetBlob |
Aliases | Blob.Set
|
Category | Document |
Label | Set File |
Requires | |
Since | |
Parameters
Signature
Inputs | document, documents |
Outputs | document, documents |
Implementation Information
JSON Definition
{
"id" : "Document.SetBlob",
"aliases" : [ "Blob.Set" ],
"label" : "Set File",
"category" : "Document",
"requires" : null,
"description" : "Set the input file to the given property on the input document. If the xpath points to a blob list then the blob is appended to the list, otherwise the xpath should point to a blob property. If the save parameter is set the document modification will be automatically saved. Return the document.",
"url" : "Document.SetBlob",
"signature" : [ "document", "document", "documents", "documents" ],
"params" : [ {
"name" : "file",
"description" : null,
"type" : "blob",
"required" : true,
"widget" : null,
"order" : 0,
"values" : [ ]
}, {
"name" : "save",
"description" : null,
"type" : "boolean",
"required" : false,
"widget" : null,
"order" : 0,
"values" : [ "true" ]
}, {
"name" : "xpath",
"description" : null,
"type" : "string",
"required" : false,
"widget" : null,
"order" : 0,
"values" : [ "file:content" ]
} ]
}